package org.apache.ocean.util;

import java.util.concurrent.ConcurrentHashMap;

public class OceanConcurrentHashMap<K,V> extends ConcurrentHashMap<K,V> {
  public OceanConcurrentHashMap() {}
  
  public OceanConcurrentHashMap(int size) {
  	super(size);
  }
  
  public V putIfAbsent(K key, V value) {
  	V returned = super.putIfAbsent(key, value);
  	if (returned == null) returned = value;
  	return returned;
  }
}
